import { createApp } from "vue";
import { createPinia } from "pinia";

// 引入全局工具类
import untils from "@/utils/common";
import Vue3EmojiPicker from "vue3-emoji-picker";
import App from "./App.vue";
import router from "./router";

const app = createApp(App);
app.config.globalProperties.$untils = untils;
app.use(createPinia());
app.use(router);
app.component("Vue3EmojiPicker", Vue3EmojiPicker);
app.mount("#app");
